package cn.murky.admin.tenant.biz.domain.entity;


import cn.murky.common.domain.entity.BaseEntity;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Table(value = "sys_dept")
@Accessors(chain = true)
@ApiModel
public class TenantDept extends BaseEntity<TenantDept> {
    /**
     * 部门id
     */
    @Id
    private Long id;

    /**
     * 部门名称
     */
    private String deptName;

    /**
     * 父级部门id
     */
    private Long parentId;

    /**
     * 排序
     */
    private Integer sort;
}
